<?PHP                
/*    function import($classpath){
	   	$paths = explode(".",$classpath);
		$finalpath = "";
		for($p=0;$p<count($paths)-1;$p++){ 
			$finalpath .= $paths[$p];  
			$finalpath .= "/";     
		}                                   
		if($paths[$p]!="*"){
			$finalpath.= $paths[$p].".php";      
			require_once($finalpath);
		}else{                       
			$handle = opendir($finalpath); 
			while (false !== ($file = readdir($handle))) {                     
				
		       if ($file != "." && $file != ".." && is_file($finalpath.$file) && getExtension($file)=="php"){
					require_once($finalpath.$file);
				} 
			}                
		}
		
	}                                                                            
	function getExtension($fileName){
		$pointPos = explode(".",$fileName);           
		return strtolower($pointPos[count($pointPos)-1]);
	}
		/*function print_html_r( $data ) { 
		   echo nl2br( eregi_replace( " ", " ", print_r( $data, TRUE ) ) );    
		} */
?>